<html>
    <head>
        <title>Rate My Mac Class</title>
        <meta name="layout" content="main" />
        <style type="text/css" media="screen">

        #nav {
            margin-top:20px;
            width:228px;
            float:left;

        }

        h2 {
            margin-top:15px;
            margin-bottom:15px;
            font-size:1.2em;
        }
        #pageBody {
            margin-left:50px;
            margin-right:150px;
        }
        </style>
    </head>
    <body>


           <div class="nav" style="text-align:center">
        <span class="menuButton"><g:link controller="course" class="list" action="list">List of Courses</g:link></span>
        <span class="menuButton"><g:link controller="professor" class="list" action="list">List of Professors</g:link></span>
        <span class="menuButton"><g:link controller="course" class="list" action="faq">FAQ</g:link></span>
        <span class="menuButton"><g:link controller="course" class="list" action="showCourseSearch">Find a Professor/Course</g:link></span>
        </div>

        <div id="pageBody">
            <h1 style="text-align:center">RATE MY MAC CLASS!!</h1>
            <p>Trying to decide between classes and would like to hear from students who have already taken the class?
            Welcome to Rate My Mac Class where current students who have already taken certain classes leave comments on
            the quality of the course as well as the professors.<br />

            Browse the lists below to see the various classes and professors.</p><br /><br />

            <p>Don't know where to start? Browse our <g:link controller="course" class="list" action="list">course directory</g:link>.</p>
            <p>Or check out our <g:link controller="professor" class="list" action="list">list of professors</g:link>! </p>
            <p>Search a class or professor <g:link controller="course" class="list" action="showCourseSearch">here</g:link>!
            <%-- %>div id="controllerList" class="dialog">
                <h2>Available Controllers:</h2>
                <ul>
                    <g:each var="c" in="${grailsApplication.controllerClasses.sort { it.fullName } }">
                        <li class="controller"><g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
                    </g:each>
                </ul>
            </div--%>
        </div>

    </body>

</html>
